Servosystem for gap electrical machining processes (especially electroerosion)

ABSTRACT

A servosystem for electrical machining processes adapted to regulate a spark-discharge gap in electrodischarge machining and other material-removal, shaping or forming operations in which the energy of an electrical discharge across the gap is exploited. Instead of the usual reference voltage or other electrical value for comparison with a gap parameter whereby the difference or other algebraic comparison controls the electrode drive, a gap detector is provided to feed a substantially continuous (analog) value to a discriminator having a threshold value and producing a digital output in accordance with the comparison. The digital output represents an &#39;&#39;&#39;&#39;advance&#39;&#39;&#39;&#39; or a &#39;&#39;&#39;&#39;retract&#39;&#39;&#39;&#39; condition and is communicated via a suitable switch or amplifier to the respective electromagnetic member of the control system, the latter member being a servomotor mechnically coupled with the movable electrode or a fluid-control valve hydraulically or pneumatically coupled with the movable electrode.

United States Patent 1 Aug. 22, 1972 Inoue [54] SERVOSYSTEM FOR GAP ELECTRICAL MACHINING PROCESSES (ESPECIALLY ELECTROEROSION) [72] inventor: Kiyoshi lnoue, 3-chome 16-8,

Kamiyoga, Setagaya-ku, Tokyo, Japan [22] Filed: o March 13, 1970 [21] Appl. No.: 19,364

[30] Foreign Application Priority Data Mar. 13, 1969 Japan ..44/189991 Apr. 2, 1969 Japan ..-.....44/25317 Apr. 2, 1969 Japan ..44/25318 Apr. 30, 1969 Japan ..44/33960 May 30, 1969 Japan ..44/42188 Nov. 1, 1969 Japan ..44/87832 Nov. 26, 1969 Japan ..44/94741 Nov. 26, 1969 Japan ..44/94742 521 u.s.c1. ..219/69G [51] Int. Cl. ..B23p'1/14 [58] Field of Search ..219/69 R, 69 G; 13/24 [56] References Cited UNITED STATES PATENTS' 1,061,612 5/1913 l-leroult ..219/69 G X 2,761,050 8/1956 Ballhausen ..219/69 G 3,531,615 9/1970 Zammit ..219/69 G 3,581,043 5/1971 Ullmann ..219/69 G Primary Examiner-R. F. Staubly Attorney-Karl F. Ross [5 ABSTRACT A servosystem for electrical machining processes adapted to regulate a spark-discharge gap in electrodischarge machining and other material-removal,

: shaping or forming operations in which the energy of an electrical discharge across the gap is exploited. In-

stead of the usual reference voltage or other electrical value for comparison with a gap parameter whereby the difference or other algebraic comparison controls the electrode drive, a gap detector is provided to feed a substantially continuous (analog) value to a discriminator having a threshold value and producing a digital output in accordance with the comparison. The

matically coupled with the movable electrode.

3 Claims, 15 Drawing Figures ADAPTIVE SIGNAL l l l l Patented Aug. 22, 1972 '7 Sheets-Sheet 1 INVENTOR.

ATTORNEY Patented Aug. 22, 1972 '7 Sheets-Sheet 2 m u n uZm30mmE PDAkDO INVENTOR.

KIYOSHI INOUE ATTORNEY Patented Aug. 22, 1972 7 Sheets-Sheet 5 F l G 9 INVENTOR.

KIYOSHII INOUE ATTORNEY Patented Aug. 22, 1972 7 Sheets-Sheet 4.

INVENTOR.

KIYOSHI INOUE I g: TD

ATTORNEY Patented Aug. 22, 1972 7 Sheets-Sheet 6 FIG.7

ADAPTIVE SIGNAL FIG.8B

FIG.8A

DBCA E INVENTOR.

ATTORNEY Patented Au 22, 1972 3,686,461

7 Sheets-Sheet 7 F|G.IO

I O 4. I

INVENTOR.

KIYOSHI INOUE BY R9 ATTORNEY 1 SERVOSYSTEM FOR GAP ELECTRICAL MACHINING PROCESSES (ESPECIALLY ELECTROEROSION) CROSS-REFERENCES TO RELATED APPLICATIONS FIELD OPP-INVENTION The present invention relates to a servosystem for electrical machining processes and, more particularly, to a servocontrol arrangement for spark and galvanic gaps, the latter being' any dielectric filled space between a pair of electrodes adapted to sustain an electrical discharge thereacrosss or any electrolyte-filled space between a pair of electrodes as used for the shaping, forming, surfacing, coating or treatment of a workpiece with electrical energy.

The invention has particular reference to electrodischarge, machining (EDM) wherein an impulsive spark discharge is generated between a tool electrode and a workpiece across a machining gap which is flooded generally with a dielectric to impulsively remove particles of the workpiece material and allow the removed particles to be carried from the gap'by the flowing stream of dielectric; the invention has reference as well to electrochemical machining (ECM) systems which make use of an electrolytic solubilization of workpiece materials into'an electrolyte in the gap between the tool electrode and the workpiece, to electrochemical grinding (ECG) systems in which, the tool electrode is generally rotated substantially in contact with the workpiece and an electrolyte serves as the coolant, and various hybrid processes including electrochemical discharge machining (ECDM), electrochemical discharge grinding (ECDG) etc.

' The term electrical machining process is intended herein to include so-called spark sintering wherein a spark discharge among a mass of particles provides both the impulsive energy and localized fusion required to sinter the particles together, high-energy-rate forming (HERF) in which a spark discharge produces a shock wave used to shape a workpiece, apply a coating or modify the surface of a workpiece, and to any machining or shaping process in which control of a gap between a pair of electrodes is essential.

spacedly juxtaposed across an electrode gap flooded with a dielectric coolant. which also serves to carry away the detritus of the electrical discharge machining process.

The tool electrode is generally formed with the desired configurationof the cavity or shape complementarily desired in the workpiece. A train of power pulses is then formed to create localized material-. removal discharges having a tendency to produce cumulatively overlapping craters in the workpiece surface; the total surface juxtaposed with the tool electrode is thus machined uniformly over the parts thereof confronting the tool electrode and receive a configuration conforming to the shape of the tool electrode.

During the machining operation, small metallic or conductive chips or particles are carriedaway by the I liquid dielectric which floods the gap and is generally circulatedtherethrough while the tool-electrode is advanced relative to the workpiece by a servomechanism designed to maintain a predetermined gap spacing or to approach the desired gap spacing as accurately as possible.

In the aforementioned application Ser. No. 838,575, it is pointed out that such machining techniques contain many elements which interfere with the predictability of a gap condition and make it difficult to achieve plication, there is described an adaptive power supply in which the character of the pulses is adjusted automatically to suit the gap conditions. In accordance with the principles of that application, electroerosive discharge pulses are optimized to adjust the pulse frequence and other essential pulse'parameters, including pulse width, interval, etc. to optimize the machining process.

That, system includes closed-loop self-adaptive pulse generators for optimal timing control in an on/off or digital sense of an electronic switching element or power switch operatively connecting d.c. machiningpower sources with the machining gap to provide selfadaptive material removal spark-producing pulses. The term closed-loop generator is used herein to refer to a system in which the machining gap itself is part of the signal-pulse generator so that the gap itself controls the power circuit and the turning on and turning off the power switch in response to the gap state, thereby permination of the discharge by turning off the switch also More particularly, this invention relates to servosystems for electrical or machining processes in which nonlinear gap characteristics arise, and to improved gap-sensing and control-signal-generating systems for servofeed or electrode positioning to effect optimum performance.

BACKGROUND OF THE INVENTION in response to the gap state.

The power switch is of the solid-state type and can carry a high dc. power while ensuring rapid and reliable switching operations under heavy load. The on and off characteristics of such switches can be generally referred to as instantaneous although from time to time the response characteristics may not be perfectly vertical. A sensor in the system provides the machining-gap information manifesting the gap state and this information is derived in the form of a continuous signal or analog signal (the electrical signal obtained being the analog of the gap parameter mea sured) and fed to an integrating network.

The level of the analog signal changes with time and represents one or more gap parameters at any given time such that the rate of change of the analog signal closely reflects the overall gap state as well as the gap state prior to the discharge in question.

The analog signal is fed to a threshold gating circuit, preferably, a Schmitt trigger, wherein the integrated analog signal is compared with a threshold reference to produce either of two possible digit states with sharp interst ate transition depending upon the magnitude of the analog signal and thereby function to perform an analog-digital conversion. Thus in one state of the circuit is response to the analog signal, no output appears at the Schmitt trigger (corresponding to the digital signal state). The circuit in another condition of the analog signal produces a square-wave output corresponding to the digital 1 state. This pair of signals functions as a trigger to close the power switch and open the latter, respectively, thereby rendering the switch alternately conductive and nonconductive, preferably via intermediate amplifying stage. By thus controlling the'point at which the subsequent discharge is to be initiated, the direction of this discharge and the point at which the discharge is to-be terminated or in accordance with the prior condition of the gap and of the gap condition at the moment of the new discharge, a truly self-adaptive regulation of the power pulses is obtainable. In the last-mentioned application it was pointed out that a servocontrolsystem forregulating the machining gap is practically an essential in EDM operations.

PRIOR ART While various gap detectors and methods or systems for deriving information from an electrode gap have been proposed heretofore, substantially all prior servotechniques include the provision of an adjustable part for any particular sequence, fixed reference volt-- age and derivation of an algebraic difference or combination of the reference voltage with a signal voltage drawn from the gap and representing a predetermined gap variable. The result of this algebraic combination of this reference voltage and gap-sensing voltage is an output or control signal which operates a servomotor of the rotary or linear type or of the direct or indirect type to displace the movable electrode until this output signal has been reduced to zero or nullified. The direction of displacement of the servomotor is generally determined by the polarity of the output or difference signal and may be an advance or retraction signal to narrow or widen the gap.

The reference voltage is preset at a given value to correspond to a desired gap spacing and generally is linear over its range of adjustment so that the difference signal and any amplified servomotor-drive signal assume a linear change in magnitude proportional to the sensed gap variable.

When these principles are used for electrical discharge machining, they are not always successful and cannot provide optimum results for several reasons including the fact that EDM and like machining systems are essentially nonlinear in terms of the characteristics of the gap. For example, the gap is not a simple resistance between the electrodes which varies linearly in accordance with the width of the gap, because of changes in the composition of the coolant, the presence of particles, polarization, breakdown and other phenomena at the gap, intimately associated with machining processing.

Furthermore, the response of the electrode system is seldom ideal so that an electrical command or control signal is not always converted linearly into a corresponding mechanical movement; the lack of correspondence of this type is a consequence of static and dynamic inertia, backlash and other factors present in the mechanical system. Hence, between the sensing of the gap condition and the displacement of the movable electrode to compensate and restore the desired gap condition, there is significant nonlinearity which analog sensing and control appears to multiply rather than decrease. The term analog is here used to refer to the continuous monitoring of the gap condition and the continuous formation of a signal which is as much as possible proportional to the gap condition under consideration. This expression is to be contrasted with digital which is intended here to describe discontinuous states, i.e. on and off states. i

In orderto illustrate the effect of nonlinearity and the lack of mechanical correspondence between a sensor-produced signal and the displacement of the movable electrode, it is advisable to review the operation of responds to draw the electrode apart, thereby generating an are as the electrodes are displaced relatively away from one another (retraction of the movable electrode). The analog feed signal requires a relatively long time to enable the electrode to be retracted fully and quenching the arc.

During the subsequent retraction stage, mechanical inertia causes overtravel. As a result, the analog sensor provides a feed signal instructing the movable electrode to advance. Here again, dynamic inertia exceeds any braking force applied by the servosignal which, as the gap closes, decreases in magnitude prior to reversal and thus is of reduced effectiveness in halting the movement of the electrode. Overtravel in the advanced state may then occur and, dependent upon the stroke and like relationships, may result in short-circuiting.

Whether short-circuiting occurs or not, the mechanical inertia and backlash, in combination with continuous or analog control of the servomotor as described above, result in a hunting of the movable electrode which neither sophisticated high sensitivity, mechanical design nor mechanical brake installation can eliminate. In some instances, installations of the latter, type have been found to increase the problems. Between the extreme positions of the electrode, in a center or null zone, an incipient short circuit may occur and cause the oversensitive drive to respond by producing a dead short or continuous arc. Also, the responsive sensor is clouded by the presence of decomposed machining products and other foreign matter accumulated in the gap such that a differential analog signal itself cannot truly represent the gap conditions.

In summary, therefore, it can be said that a conventional servocontrol system for the positioning of an electrode involved in the formation of an interelectrode gap makes use of a preset reference potential with which a continuously derived analog signal is co mpared so that the resulting continuous control signal can be applied to a servomotor. This system is generally linear whereas the actual condition of the gap under the varying circumstances occurring during machining which follows the particular machining need in a more or less automatic manner.

OBJECTS OF THE lNVENTlON It is the principal objectof the-present invention to provide an improved servocontrol system for electrical machining or shaping'arrangements adapted to regulate an interelectrode gap and capable of overcoming difficulties arising with prior-art arrangements for the same purpose.

Another object of the invention is to provide a servocontrol system for electrical discharge machining and other electrode systems which is characterized by a high response rate, reliability and simplicity and eliminates the need for expensive and sophisticated mechanical devices for limiting backlash and overtravel. 1

It is further object of this invention to provide a method of controlling a movable electrode, in an electrical machining or shaping system, which provides accurate regulation of the position of the movable electrode to maintain a preselected gap width or preselected gap condition designed to optimize machining or shaping performance.

It is also an object of the invention to provide an improved servocontrol apparatus adapted to obviate the disadvantages of earlier systems and provide precision control of the position of an electrode, especially in electrical machining and shaping arrangements.

It is an object of my invention, further, to provide a control circuit with self-adaptive means for regulating the position of an electrode in response to a gap condition.

SUMMARY OF THE INVENTION The above and other objects are attained, in accordance with the present invention, in a system in which an analog signal is derived from across an interelectrode gap with. a time-varying amplitude which preferably is a function of the inter-electrode spacing but may be a function of any other gap variable, this analog signal being compared with a threshold to produce a digital output depending upon its relationship to the threshold, i.e. a first digital state when the analog signal exceeds a threshold and a seconddigital state when the analog signal is below the threshold value.

These digital states are thereafter employed to control the servomechanism and actuate the latter in a sense or direction determined by the prevalent digital state and to an extent determined by the duration of that state.

As opposed to prior-art systems, therefore, the servomechanism responsive to the digital state and reversible, i.e. operative to advance orretract the movable electrode in dependence upon the digital state prevalent at the moment, is capable of correcting the position of the movable electrode only upon the formation of an analog signal which exceeds or lies below the corresponding threshold value to create the digital state, the magnitude of which may be substantially independent of the analog output so that the system is free from the inconveniences of linear control arrangements for regulating nonlinear operations. At no time is a reference voltage so combined with the analog voltage, that the algebraic difference is provided as the control signal. I

According to one aspect of the invention, the method comprises the steps of deriving an analog signal varying as a function of a gap variable, preferably the gap spacing; discriminating or comparing the -analog signal with respect to at least one threshold value; generating a digital signal of one polarity and a predetermined (given) amplitude when the analog signal is above this threshold value but generating a second digital signal of substantially the same or another absolute amplitude but reverse polarity when the analog signal is below this threshold value; and apor more values preset on an empirical basis as cor-- responding to a desired gap spacing when the machining is carried out in an optimum mode, or may be automatically adjusted (e.g. self-adaptive) as will be apparent hereinafter.

The term digital signal as used herein, is intended to refer to a relatively well defined, steep-flank wave form although slight deviation therefrom may be toleratedas will be apparent hereinafter. It is important that during the state at which the particular digital condition exists, the signal reaches an effective potential at the instant of its on state but drops below this potential at the moment of its off state and has a potential which may be more or less constant, but is effective to operate the servomotor during the on and off states. The digital states may be represented by on or conductive" conditions of electronic switch devices or by current pulses as required.

Of course, the terms on T and off are not to be understood as limiting the invention unless otherwise indicated, to systems in which the off" state involves no current flow or development of an electrical potential whatever, but may include low-voltage or low-current states which, in themselves, are incapable of driving the servomotor or have negligible effect thereon. Furthermore, the expression analog as used to describe the more or less continuous output of the sensing means, must be treated in its most general sense to include situations in which the signal is not directly proportional to the particular gap condition which is being monitored. In some cases, some other predetermined relationship between the monitored gap condition and the analog signal value representative thereof may be provided.

According to the apparatus aspects of the invention, the sensing means or sensor is connected across the electrodes and draws from the machining gap an analog signal which may take the form of a voltage which varies with time in proportion to or as a function of a gap variable; the gap variable may be the interelectrode spacing and may be represented by a gap voltage (i.e. the voltage developed across the gap between the electrodes), the gap current (i.e. the electrical current flow across the gap between the electrodes), the gap impedance (the electrical impedance measured across the electrodes) or a combination of these parameters or some other signal indicative of gap condition. The state of the gap may also be manifested by an optical orsonic some electrical-optical or electrical-acoustical transducer may be provided to yield the optical or sonic signal. The optical or sonic signal may, however, be formed by a suitable generator disposed directly in the gap if desired.

The apparatus also comprises a threshold means, preferably a Schmitt trigger having a pair of operating levels as described in the latest of the aforementioned applications, although any threshold triggering arrangement may be used; typical of threshold triggers according to the invention are Zener diodes or like electronic circuitry yielding a digital condition of one type when the unput exceeds a predetermined threshold and a signal of opposite sense when the input is below the threshold. Other systems capable of forming threshold devices include bistable multivibrators, the inputs of which may be provided with capacitor-resistordiode (CRD) control gates or other bistable switching circuitry.

According to the principles of the present invention, the threshold means establishes a first digital condition upon the analog signal exceeding a predetermined threshold level and a second digital condition upon the analog signal falling below this threshold, or, preferably, a second threshold level, the function of which will be apparent hereinafter.

Upon establishment of these digital states, servodrive signals are generated at the output side of the threshold signal and, when an electrical parameter is measured, I

means and are fed to a servoactuator for advance and electrodes but will retract the other.

When only one electrode is so movable, however, the servomotor means is bidirectional or reversible and may be an electric motor (see pages 276-313 of SER- VOMECHANISM PRACTICE, McGraw-Hill Book Company, New York, Second Edition, 1960) or a fluid actuator or valve arrangement as described at pages 390 to 420 of SERVOMECI-IANISM PRACTICE, op. cit.

Between the servomotor and the threshold means there is provided a pair of electronic switches each of which is operated in a respective digital state and controls the operation of the servoactuator in one or the other sense. The electronic switches or amplifiers may be transistors or other solid-state switching devices, the control electrodes of which are connected to the output terminals of the threshold device and are triggered by the'respective digital signals such that the occurence of the first digital state or the presence of the first digital signal causes the servoactuator to be displaced in one direction whereas the occurrence of the second digital state or the presence of the second digital signal causes the actuator to move in the opposite direction.

Since the servoactuator (servomotor) receives only opposite-polarity pulses of variable width but fixed amplitude and relatively sharp flanks or wave fronts, the control pulses vary sharply between a pair of opposing states and thereby sharply energize the servomotor with either of two active conditions depending upon the magnitude of the analog signal derived from the gap and compared or discriminated with respect to the predetermined threshold value. This method of response and actuation provides rapid quenching of any short circuit or are and rapid recovery of a normal gap such-that only spark-type discharges are formed. The system also allows accelerated follow-up feed of the movable electrode after correction of any deficient operation, provides for rapid elimination of the effect of mechanical inertia, and otherwise'ensures the rapid movement of the electrode in either direction.

Advantageously, the digital state applied to the movable electrode is accompanied by a relatively small-amplitude vibration and the mechanism is designed to be less sensitive to hunting sothat the movable electrode performs as if in a dynamic state always ready for activation. The vibratory movement of the electrode, though of short stroke, may be produced by triggering a gating network to which the vibrating pulse or signal train is delivered by an oscillator or the like. Freezing of the movable electrode is effectively eliminated and the system is at all times ready to move instantaneously in the required direction as the command is given.

Thus the system of the present invention can be thought of as involving the application of oppositely effective digital signals to a servomotor to drive the latter alternately in opposite senses until respective threshold values are crossed, whereupon the digital state is reversed. The resulting dynamic action of the electrode has been found to nullify the effect of inertia and backlash and, when coupled with step feed of the electrode, gives rise to precisions which can be reproduced only with complex, expensive but highly sensitive mechanical drives.

In accordance with any important aspect of the invention, oscillator means is provided between an electronic switch for each digital state connected in series with the respective servomotor coil, the oscillator providing drive pulses of predetermined amplitude and a pulse frequence and spacing determined by the requirements of the gap. Preferably, two relaxation oscillators are employed, each coupled with one of the electronic switches of the digital servomotor control, the oscillators being energizable by the Schmitt trigger in accordance with the digital state resulting from discrimination in the latter of the analog signal with respect to the threshold values mentioned earlien'Two modes of operation will immediately be apparent. In

one such mode, an inverse control is employed for the step-feed oscillators, whereby the inputs to the latter are shunted by a controlled impedance, e. g. a transistor of other solid-state switch to render one relaxation oscillator ineffective while the latter is unshuntedto apply step-feed pulses to the respective electronic switch. In the second operating mode, the Schmitt trigger merely energizes the corresponding relaxation oscillator for the duration of the corresponding digital state as represented by Schmitt-trigger output.

Still another feature of this invention resides in the provision of two threshold means for establishing a first and a second threshold in which the analog voltage or gap-monitoring signal triggers the first or second digital states while an intermediate zone is provided between these thresholds to create a condition in which neither coil of the servomotor is energized and the movable electrode is immobile for optimum machining. The threshold means may be two sets of Zener diodes or, preferably, a pair of Schmitt-trigger networks, each of which establishes a respective threshold and between the thresholds of which lies the dead or null zone. When a pair of Schmitt-trigger circuits is provided, each such circuit may be coupled with respective electronic switch in series with the servomotor drive source and the respective coil of the servomotor or with the electronic switch via an oscillator or pulser to provide step feed in the corresponding direction.

Still another feature of this invention resides in the provision of adaptive control. means for regulating the parameters of the servocontrol circuit in accordance withv gap conditions. Consequently, there is provided, in addition to the gap-monitoring circuit constituting means responsive to a further variable of the gap and operatively connected to the Schmitt trigger and/or the step-feed oscillator and/or the electronic switch circuit including the servomotor windings for adaptively regulating same in accordance with variations of gap parameters. The present invention contemplates control of the series impedance of the electronic switch circuit (in which a transistor hasits principal electrodes in series with a power supply and one coil of the servomechanism)to modify the level of the digital output supplied directly to the servomechanism, control of the pulse height (amplitude), duration, width or frequency of the step-feed oscillator, or control of the duration or level of the digital output of the Schmitt trigger as will be apparent hereinafter. The frequency of .the pulses, when step-feed oscillators are employed, is preferably controlled in accordance with the magnitude of the analog signal.

According to still another feature of this invention, the servoactuator has a pair of coils respectively energizable and effective in opposite directions so that they operate in a conjugate relationship, the electronic switches in series with these coils being operable substantially in cut-off" and saturation ranges of the electronic switch. The first coil may be responsive to the gap signal and, when the latter exceeds a preset value, is saturated to cut off the second switch which in turn de-energizes the corresponding coil. When the gap signal drops below a preset value which may be identical to or slightly less than the first preset value, the first electronic switch or transistor is cut off, thereby deenergizing the corresponding coil while driving the second switch or transistor into a saturated state and energizing the coil associated therewith or permitting this coil to remain energized.

It has been found to be advantageous, in some cases, to feed the electrode in one direction (e.g. upwardly or in retraction) with a continuous digital signal in response to a gap signal crossing a preset value or high gynamic inertia is precluded.

the input to the Schmitt trigger or as part of the latter,

The invention also provides meansfor jumping or momentarily shifting the electrode, periodically or in response to the gap signal or, preferably, the servomechanism-operating signal to reduce contamination of the gap by occluded gases, metal particles and chemical or mechanical detritus of spark-discharge machining.

BRIEF DESCRIPTION OF THE DRAWING These and other objects, features and advantages of the invention will become more readily apparent from the following description, reference being made to the accompanying drawing in which:

FIG. 1 is a circuit diagram illustrating a basic embodiment of the improved servo-signal generator constructed in accordance with the present invention;

FIG. 1a is a graphical representation of operating characteristics of the system of FIG. 1;

FIG. lb is a block diagram illustrating principles of the invention;

FIG. .2 illustrates another embodiment of the invention adapted to step-feed the machining electrode;

FIG. 3 is a diagram of a modification of the system of FIG. 2 wherein the frequency of feed pulses may be controlled in accordance with the detected gap signal;

FIG. 3a is a graphical representation of'operating characteristics of the system of FIG. 3;

FIG. 4 is a circuit diagram of the improved servo system provided with an adaptive system in accordance with the present invention, as used with an optimal power supply for electric discharge machining;

FIG. 5 is a circuit diagram, partly as a block diagram,

showing another adaptive servo control according to the invention;

FIG. 6 represents yet a further circuit schematic of another adaptive servo control arrangement according to the invention;

FIG. 7 is a diagram illustrating another embodiment of the present improved servo-signal generator;

FIGS. 8a and 8b are graphical representation illustrating different characteristic conditions occurring in EDM process;

FIG. 9 is a circuit diagram of a system for providing gap-characterizing signals which may be used for adaptive control;

FIG. 10 shows a still further embodiment of the present invention; and

FIG. 11 is a circuit diagram of a system according to the invention wherein the control is substantially continuous.

SPECIFIC DESCRIPTION Throughout the following description, several embodiments of the invention will be illustrated in conjunction with EDM principles because of the particular adaptability of the servosystems thereto but it is to be understood that the invention is applicable also to ECM (electrochemical machining), ECDM (electrochemical-discharge machining), ECDG (electrochemical-discharge grinding), spark sintering, highenergy-rate coating and shaping and other electrical machining or shaping processes.

In FIG. 1, there is shown a basic form of an improved servo signal generator which may be modified in various respects as will be apparent. A tool electrode E is juxtaposed with a workpiece W to form a gap or spacvariable pulse duration or width, pulse height and/or pulse spacing are described in my application Ser. No..

838,575 copending herewith.

The improved servo system includes a gap sensor for deriving from the gap an analog-varying signal representative of variable gap spacing as well as gap state or condition. The sensor ishere constituted by a resistor 10a and an integrating capacitor 10b serially connected across the gap as shown to detect the mean gap voltage. At the junction of this resistor 10a and capacitor 10b is connected the positive terminal of a voltage source 11 via a variable resistor 100 which forms part of the gap-sensing means. Thus, with the indicated polarity relationship of electrodes'E and W and of the source 11., the charge on capacitor 10b is controlled by source 1 1 via resistor 10c and also by the gap voltage via resistor 10a. The capacitor terminal voltage achieves a higher value when the gap voltage falls, indicative of a reduced or relatively narrow gap spacing, short-circuit or are and a lower value when the gap voltage is increased indicative of open gap or greater gap spacing.

This will be apparent from the fact that the source 1 applies machining pulses to the gap which render the tool electrode negative with respect to the workpiece electrode and the aforementioned junction of capacitor 10b and resistor 10a. The negative potential, in an open-circuit condition or wide spacing of the gap, cancels the positive potential across the capacitor 10b from source 11 or provides a current drain to the same effect. Consequently, only when the gap shunts all or part of the potential from source 1, can higher positive potentials appear across the capacitor 10b and at the junction of this capacitor 10b with resistor 10a.

Connected to the output of the sensor 10, there is a discriminator or threshold means 12, here in the form of Schmitt circuit constituting an analog-digital converter energized by the source 11. The Schmitt trigger 12 establishes the digital conditions which are applied to output switches 16A and 168, respectively, whose conductive states are used to energize a servo actuator in dependence upon the magnitude of the incoming analog signal which is discriminated or compared with two threshold values. The circuit 12 comprises a pair of NPN transistors 12a and 12b in conjugate relationship wherein a resistance-capacitance (R-C) time-constant network 12c connects the collector of the first transistor 120 with the base of the second transistor 12b. The input signal is applied from the output side of the integrating circuit'10 between the base and an emitter resistor l2r of the first transistor 12a, the resistor l2r being adjustable to establish a pair of threshold levels. The resistors 12d, 12c and 12f are respectively the base-bias resistor of output transistor 12b, collector-bias resistor of input transistor 12a and collector-bias resistor of the transistor 12b.

Connected with the output of the Schmitt trigger 12,

are output resistors 13A and 13B interconnectedat junction 14 which is tied to the collector of the transistor 12b via resistor 15. The movable wiper 13A of the first output resistor 13A is connected to the base of PNP amplifying-switching transistor 16A .whose emitter is connected to the other fixed terminal thereof and the positive terminal of the source 11 via a servo coil 17A with the collector being connected to the ground. The movable wiper 13B of the second output resistor 13B is connected to the base of PNP transistor 1613 whose collector is connected to the positive side of the source 11 via a-servo coil 17B with the-emitter being connected to the other fixed terminal and ground. In this casecoils 17A and 17B are energizing coils for a servo valve 17 adapted to cause it to control the electrode in advance and retraction directions, respectively (see Servomechanism Practice, op. cit.). The respective positions of wipers 13A and 138 adjust the respective constant magnitudes of digital response in either direction.

Thus, when a vertical electrode is employed and v gravity forces contribute to the downward movement of the electrode assembly, a lower amplitude of the advance digital signal may be provided while a somewhat higher amplitude of the retract signal may be established to overcome the gravity force. It should be noted that the embodiment of FIG. 1 also provides a respective electronic switch (transistor 16A or 16B) which has its principal electrodes (emitter/collector) in series with the respective electromagnetic coils or windings (17A or 173.) of the Servomechanism.

The Schmitt trigger 12 is a-bistable circuit having either of two possible states depending upon the level of the input signal applied at the base of transistor 12a.

outputs represented by the two states of the Schmitt I trigger and appearing at output resistors 13A or 138, respectively, which in the alternative energize amplifying transistor 16A and 168.

In operation, when the terminal voltage of capacitor 10b is below a first threshold value and represents a higher gap voltage or wider gap spacing than the optimum, transistor 12a is nonconducting or blocked while transistor 12b conducts and the output transistor 16A conducts (digital l or on while the other output transistor 16B is biased to its nonconductive (digital 0 or off") state so that only the servo coil 17A is energized driving the movable electrode in the advance direction.

When, however, the terminal voltage of the capacitor 10b rises above the threshold value as the result of a decrease in the gap voltage or spacing below a preselected value, transistor 12a is biased into its conductive state, transistor 12b is cut off and the output transistor 16A is blocked (digital or off") while the other output transistor 16B is rendered conductive (digital 1 or on) whereby the coil 17A is sharply de-energized and the other coil 178, which had been de-energized previously, is sharplyenergized to cause the servomotor 17 to operate so that the electrode may move rearwardly (retract).

Thus, it will be seen that substantially instantaneous and sharp transitions occur between energizing signals and are accompanied by prompt reversal in movement. Overshoot, which might result from dynamic inertia, is effectively avoided and any short-circuit, arcing or the like undesirable condition, if prevalent, is quickly quenched.

The rearward movement of the electrode causes voltage build-up at the gap and decreases the terminal voltage of the capacitor b. When the input at the base of transistor 120 thus falls below a second threshold value, slightly less than the first threshold value, transistor 12b is driven into conduction and the coil 17A is thereby selectively energized and establishes the first digital condition mentioned. above to drive the electrode in the advance direction. Here again, phase reversal in servo energization is instantaneous and the gap independent sharp signal amplitude eliminates overrun of the electrode.

In the normal gap voltage range, it will be seen that the electrode or servomotor produces minute reciprocation between two distances from the counterelectrode when this system is combined with a high-sensivity mechanical arrangement and may assume even such tendency when a low-sensivityfeed apparatus is employed. It has been found that placing the system in such a dynamic condition or activated state promotes machining efficiency and effectively eliminates freezing or static inertia as ordinarily encountered in the null region. In effect, upon the gap analog signal reaching a first threshold value, the instantaneous phase (state) reversal between two digital states causes the electrode, whenmoving in one direction, to stop quickly while overcoming dynamic inertia or and resisting forces and establishes acondition whereby the electrode may reverse direction. Then, if the analog signal is maintained for an interval beyond a short delay time inherent in the apparatus and defined by the time constant of the system, indicating occurrence of ashortcircuit, are or open-gap condition, the electrode is promptly driven in the reverse direction to nullify such condition whereupon another phase reversal is established instantaneously by the analog signal traversing the second threshold value. On the other hand, if the analog signal, after passing through the first threshold, reaches the second within the delay time, the electrode will be held substantially at standstill to permit normal machining to be carried on.

FIG. 1a illustrates characteristics of the operation of the circuit of FIG. 1. In the diagram of FIG. 1a, time is represented along the abscissa while the positive ordinate' represents the advance command and the negative ordinate represents the retract command or state. Assuming a proper machining condition during the interval represented at l and the incipient formation of an open-gap condition wherein the gap width is excessive and incapable of permitting a spark discharge,

the analog signal is maintained through the delay period At and triggers the transition to an advance state as represented at II. Similarly, this state continues (with advance of the electrode and machining) during the interval III until the advance causes the analogsignal level to exceed the appropriate threshold and triggers, after the delay time At, the retraction command IV, the sequence being repeated at a rate determined solely by the duration of appropriate machining conditions.

In FIG. 2, there is shown a modified circuit arrangement for generating servo energization signals, which includes again a Schmitt circuit 112 providing digital signals in response to the gap signal.

In this FIGURE, as in subsequently described embodiments, functionally equivalent parts and circuit elements are designated by the reference numerals and letters previously employed but preceded by higher digits in the hundreds place. However, unless otherwise described, the tool electrode E and the workpiece electrode W are connected to an EDM or machining power supply of the adaptive type by terminals represented at and with the machining pulses having the indicated polarity. In all cases the machiningpulse power supply may be of the type described in the latest of the above-mentioned applications.

In this embodiment, however, the Schmitt circuit is designed to respond directly to the gap voltage; the latter here constitutes directly an analog signal detected by a voltage-divider resistor a connected across the machining gap while operating in the opposite mode to that in the FIG. 1 with respect to variation in the gap-voltage.

Thus, when the gap voltage is higher than a first threshold value of the Schmitt circuit 112, the output resistor 113B receives a digital signal as a consequence of cut-off of transistor 1l2b and, when the gap voltage becomes lower than a second threshold value, the output resistor 113A receives the oppositely effective digital signal. Furthermore, at the output side of the Schmitt circuit 112 are provided apair of relaxation oscillators 18A and 188 to effect the step-feed of the movable electrode in advance and retraction directions, respectively, in response to digital states. The pulser or oscillator 18A includes an operating voltage source 18a and a capacitor 18b which is charged from the source via a charging resistor 18c and a diode 18d and discharges via a resistor 18e, the diode 18d being effective to block the discharge current.

The junction of resistor 18c and diode 18d is connected to the emitter of a unijunction transistor 18f whose first base is connected to the positive terminal of the source 18a via a bias resistor 18g and whose second base is connected to the negative terminal of the source. The first base of this unijunction transistor is in turn connected to the base of an amplifying transistor 19A whose emitter and collector are connected in series with a power supply 20A via resistor 21A, diode 22A and a winding 117A, the latter forming a first control winding of a servomotor 117.

As the capacitor 18b periodically charges and discharges, the unijunction transistor 18f is rendered alternately nonconductive and conductive to switch'the' output transistor 19A on and off thereby intermittently energizing the servo winding 117A. I-Iere, re-

sistor 18c and resistor 18d in conjunction with other elements establish charging and discharging periods,

respectively, and hence on and ofi" times of the transistor 19A while the oscillator is being operated, these resistors being variable to permit setting of the step on time and off time for each step feed. The resistor 21A, 21B is similarly adjustable to set the amplitude of each step in conjunction with the step on time. The second pulser 18B is shown to have the identical construction and may operate in substantially the same manner as that of the pulser 18A. Program means P may be provided for these pulsers to change the stroke of the step feed sequentially to meet changing requirement of the particular machining operation. In these pulsers there are also provided shunt transistors 1 14A and 114B connected across capacitors 18b and 18b, respectively, which transistors are energizable by digital signals developed at resistors 113A and 1133 to short-circuit the operation of the respective pulsers.

In the operation of the system of FIG. 2, when the gap voltage is below the first threshold value of the Schmitt circuit 112, the output transistor 114A is conductive while the other output transistor 1143 is nonconductive. This permits only the oscillator 188 to operate and hence the electrode to be fed stepwise'in the gap-widening (retract) direction at the rate determined by parameters of the oscillator 18B. Con-' versely, when the gap voltage is greater than the second threshold value of the Schmitt circuit 112, transistor 114A is nonconductive while transistor 1148 is conductive. This permits only the first oscillator 18A to be operated and the electrode to be step-fed in advance direction at the rate determined by parameters of the oscillator 18A. Of course, the feed length for each step feed is set to a minute value substantially smaller than the normal machining gap spacing so that any'overtravel is avoided.

In the embodiment of FIG. 2, therefore, the electronic switch 19A, 19B in series with the servomotor coil 117A, 117B, is energized via astepping oscillator 18A, 18B rendered effective for the duration of the appropriate digital state. The amplitude of the digital output from the Schmitt circuit is here immaterial as far as the electrode driveis concerned, as long as the digital output suffices to operate the shunt transistors 114A and 1143. While the level of the digital output actually applied to the coils 17A and 17B is controlled by the potentiometers 13A, 1313 in the system of FIG. 1, Le. at the control electrodes of the switching or amplifying transistors 16A, 168, in .the system of FIG. 2, the level of each step during the course of the corresponding digital state is established by the potentiometers 21A or 213 in series with the principal electrodes of the switching transistors 19A, 19B and the respective coils 1 17A and 1 1713.

212B as well as a second Zener diode ZDB as shown. The breakdown level of the Zener diode ZDA is adjusted at a value substantially identical to a first threshold or transition level of the Schmitt trigger 212A and higher than a second transition value thereof while the breakdown value of Zener diode ZDB is adjusted at a value substantially identical to a first threshold value of Schmitt trigger 212B and higher than a second transition value thereof. In addition, the first transition value of Schmitt trigger 212A is adjusted slightly higher than the first transition level of Schmitt trigger 212B.

Thus, it will be seen that, when the gap voltage is sufficiently high to exceed the breakdown voltage of the Zener diode ZDA and the first transition value of Schmitt trigger 212A (the value is here defined as the first threshold value), transistor 212a is conductive and transistor 212b is nonconductive whereby the output transistor 214A is nonconductive.

, For the second threshold circuit 2123, however, transistor 212a is conductive and transistor 212b is nonconductive so that the output transistor 214B is conductive. As long as transistor 214A is nonconductive and transistor 2143 is conductive, only the oscillator 218A is permitted to operate and the electrode is step-fed in the advance" direction to narrow the excessively widened gap spacing.

When the gap voltage falls below the first threshold value'and before it drops to a second transition level of Schmitt trigger 212A, transistor 212a is rendered nonconductive as a result of cut-off of Zener diode ZDA and consequently the transistor 214A is driven into its conductive state, thereby blocking the operation of the oscillator 218A. The blocking of the second oscillator 218B is maintained, however, until the gap voltage falls below the second threshold value for the system, which is lower than the first threshold mentioned above, or below breakdown or cut-off level of Zener diode ZDB at which time transistor 212a is cut off and transistor 212b is driven conductive, thereby rendering the output transistor 214B nonconductive to permit the oscillator 218B to operate and consequently the electrode to be retracted stepwise.

Thus there exists a dead or null zone in which both the oscillators 218A and 218B are blocked from operation and the first and second threshold levels are adjusted so as to correspond to the upper and lower limits, respectively, of a preselected normal gap range. The operating characteristic of the system described is illustrated in FIG. 3a wherein the frequency of advance and retraction stepfeed is plotted along the ordinate with respect to the detected gap voltage plotted along the abscissa. The null zone for optimum machining is presented at AV.

The system of FIG. 3 is shownto also include adaptive means which changes the rate of feed in accordance with the magnitude of a gap variable. This means, represented at 24, includes a gap monitoring NPN transistor 24a whose base is connected to the positive terminal of the gap resistor a and whose emitter is connected to the negative terminal of the gap resistor 110a and also to the negative side of a voltage source 24b. The collector of the transistor 24a is connected through a resistor 24c to the positive side of the supply 24b. Across the resistor 240 is connected an illuminator (lamp) Lpl while a second illuminator (lamp) Lp2 is Connected across the collector and emitter of the transistor 24a.

Oscillators 218A and 2188 for pulsed electrode feed,- which are illustrated to have a structure similar to those of FIG. 2, are provided respectively with variable charging resistor 2180 and variable discharge resistor 2l8e for capacitor 218b; and variable charge resistor 218c' and/or variable discharge resistor 218e for capacitor 2l8b', these variable resistors being formed in part by photoconductive elements adapted to receive light A and B emitted from lamps Lpl and Lp2, respectively. It will be seen that a conductivity change of these elements changes the output pulse frequency.

The gap-monitoring transistor 214A, 2148, also Ser. No. 838,575 and additionally including means 26 forshort-cir'cuiting the gap through a shunt transistor 26a when the gap voltage falls below a predetermined value, say, volts.

The servo circuit of FIG. 4 has a basic form and operation essentially identical to that shown in FIG. 1 and is provided in the threshold Schmitt trigger 412 with a variable impedance means, here constituted by serves as a variable resistor. Thus, when the gap voltage is high, the collector-emitter conductivity of the transistor is increased, thereby rendering the voltage drop at resistor 240 to be elevated and causing the intensity of illumination of lamp Lpl to increase while voltage result, respectively, in decreased off time and/or increased on" time 0 advance stepfeed pulses and increased on time and/or decreased off.

time of retraction step-feed pulses from oscillators 218A and 2188.

ADAPTIVE CONTROL Extensive research has demonstrated that in electrical machining various constantly varying characteristic conditions occur in the machining gap even with a carefully preselected mode of operation and gap spacmg.

In EDM, for example, there are found several characteristic types of discharge which degenerate from one to another and variously contribute tothe machining process. In the desired condition, the spark is a liquid-phase discharge with a high-energy concentrated discharge column highly pinched by the liquid environment.

Gaseous discharges with an expanded column occur as a result of the presence of increasing quantities of metal vapor and gases entrapped in the discharge zone. This latter condition, as well as liquid/gas-phase discharge (i.e. combined liquid-phase and gaseous discharge) and a quasi-short-circuit condition resulting from the accumulation of debris (decomposed products) and machined chips, tends to shift to a damaging continuous are or short-circuit.

It has been found that an optimal machining performance is attained when the threshold circuit for servo response which determines the direction and timing of the electrode movement and generally the gap spacing is controlled depending on these characteristic conditions.

In FIG. 4, accordingly, there is shown an adaptive servo system which operates on this principle. This em bodiment is here shown coupled with an' adaptive EDM pulse generator 25 as illustrated in US. Pat. application an NPN transistor Trl connected across resistor 412r to control, coupled with the latter, a threshold value of servo operation in response to a signal derived from a comparator 27 as will be apparent. In accordance with the principles set forth, a gap-current monitor 28 is provided which'includes a differentiator transformer 28a whose primary winding is connected across a variable tap and fixed terminal of a gapresistor as shown. The secondary winding of this transformer is connected via a full-wave rectifier 28b across an integrating capacitor 280 whose positive terminal is in turn connected to the base of an NPN transistor 27:; in the comparator 27.. Thus, it will be apparent that the terminal voltage represents a gap signal indicative of characteristic gap conditions or, in EDM, the degree of occurrence of liquid-phase discharges, gaseous discharges, liquid/gas mixed phase discharge, arc, short-circuit etc. Thus, higher capacitor terminal voltage indicates a higher proportion of normal discharges occurring while a lower integrating voltage indicates a condition tending to shift into continuous are or short-circuit.

The comparator 27 is here constituted by a differential amplifier which includes a fixed voltage source 27b, NPN transistors 27c and 27d as well as the input signal transistor 27a along with resistive connections as indicated. Resistor 27e is variably adjustable to establish at the collector of transistor 270 a predetermined reference voltage depending on the particular type of machining operation to be conducted and, here, also corresponding to an optimum gap condition for comparison with the collector voltageof transistor 27a which is variable in accordance with actual gap characteristics. The comparison or differential signal derived is fed to the control electrodes of transistor Tr] to change the collector-emitter conductivity thereof and hence the threshold value of Schmitt 412 in accordance with and as a function of the magnitude of the comparison signal.

In operation, it will be seen that when machining is carried onin anoptimum mode,the integrating voltage I at capacitor 28c is high, applying a greater control signal to the base of transistor 27a whose collectoremitter resistance and hence its collector voltage is thereby held at a value substantially balancing the collector voltage of transistor 270. As a consequence, transistor Trl is held nonconductive or substantially nonconductive and the threshold Schmitt circuit 412 presents a maximum transition voltage, determined by the resistance of resistor 412r, for the input gap analog signal applied to the first transistor 412a of theSchmitt trigger. In this state, it will be seen that the system tends to hold the machining gap at a minimum preset spacing so as to facilitate metal removal or to allow machining to progress at maximum speed. i

When, however, the gap condition worsens or gaseous-discharge or a similar condition appears, the collector voltage of transistor 27a rises above the collector voltage of reference transistor 270, as a consequence of decrease in the terminal voltage of gap-responsive integrating capacitor 28c, and the differential signal from comparator 27 renders the transistor Trl conductive with its collector-emitter resistance determined by the magnitude of the differential signal. Consequently, the transition level of Schmitt trigger 412 is lowered and the system is thus controlled to tend to maintain a relatively widened gap spacing determined by the lowered servo threshold level so that the optimum condition can recover and development into continuous arc or the like damaging condition is avoided. Thus, it will be seen that there is provided a system which permits an optimal machining performance and maintains a maximum mode of operation at all times continuously adapting to varying gap conditions.-

The system of FIG. 4 is shown to further include a threshold controller for the pulse width of machining current, constituted here by a transistor Tr2 constituting a variable-impedance means provided across threshold resistor r, or otherwise across input resistor r, of Schmitt pulse former in the power supply 25. Thus, the differential output of comparator 27 mentioned above is also applied to the control electrodes of this transistor so that for an optimum machining condition the machining pulse width is held at a maximum preset value and, as the gap condition worsens, the pulse width is decreased accordingly to avoid further development into arcing or a like condition. Here again, therefore, an optimal machining performance is attained.

The power supply 25 as shown in FIG. 4 is, as noted, a modification of the system described and claimed in my copending application Ser. No. 838,575. This system includes a gap-condition detector connected across the gap and represented by the lead 25a between a capacitor 25bl and a resistor 25b2, the capacitor being bridged by a Zener diode 25b3. The sensed signal, indicating gap condition, charges the capacitor 25bl or bucks the charge delivered from some other source so that an integrated signal is applied to the base of transistor 2501 of the Schmitt trigger circuit 25c. The signal applied to the control electrode or base of this transistor is delivered through the resistor r which may constitute a variable impedance as previously noted or via a transistor Tr2 whose principal electrodes may be connected in series with the base of transistor 25c1 and the integrating network 25b. A breakdown voltage source of higher potential than source 25g but in series with a current limiting resistor is connected across the electrodes.

The emitter-collector network of the Schmitt trigger transistor 25c1 includes the variable impedance system r,, and Tr2 controlled by the comparator 27. Between the collector of transistor 25c1 and the base of the conjugate transistor 2502 of the Schmitt trigger 25c, there is provided the usual time constant or delay network 25c3. The output of the Schmitt trigger is here derived across the resistor 25c4 to which the collector-base terminals of an amplifying and phase-reversal transistor 25d is connected.

Consequently, the integrated signal is applied to the base of the first transistor of the Schmitt trigger 250, the thresholds of which are set by the variable-impedance network r Tr2 as previously described. The

output transistor applies its signal to the amplifying and phase-reversal transistor 25d, the latter in turn energizing a power switch in two stages as represented at 25e and 25f. The Schmitt trigger 250 may be of the type described at pages 389 ff. of PULSE, DIGITAL AND SWITCHING WAVEFORMS, McGraw-l-Iill Book Company, 1965 and acts as a discriminator converting the level of the input analog signal of the integrating circuit 25b to a digital output represented by the two states of the Schmitt trigger.

The two-stage power switch comprises a transistor 25e whose emitter is connected in parallel to the bases of the transistors 25f1, 25]2, 2513, etc. The principal electrodes of the latter transistors are connected in parallel between a power source 25q, represented as a battery, and the electrode gap in series with the tool electrode E and the workpiece electrode W. Zener diodes 25f4, 25j5 and 2516 are connected across the emitter-collector electrodes of the power transistors 25f1, 2512, 25f3, to prevent overloading thereof. The machining current is, of course, controlled by the number of power transistors of this latter network which are connected in parallel between the source and the electrodes. An electronic switch 25h is also connected in series with the d.c. source 25q and is represented as a silicon-controlled rectifier 25hl whose gate is triggered to turn on the power circuit.

As noted earlier, a shunt 26 is provided to shortcircuit the electrodes E, W when the gap voltage falls below a predetermined value for effective machining of, say, 10 volts. The shunt circuit 26 comprises a gap voltage detector 26a, consisting of a pair of resistors 26al and 26a2 forming a voltage divider, the tap 26a3 of which is applied to the base of a transistor 26bl forming part of a Schmitt trigger circuit 26b as described in Pulse, Digital and Switching Waveforms. Between the collector and base of the second or conjugated transistor 26b2, there is provided a time delay or time constant network 26b3. The output of the Schmitt trigger, which digitally controls the shunting operation, is developed across the resistor 26b4 and is applied to the base-collector terminals of an amplifying and phase-reversal transistor 26c. The output of the latter is applied via a potentiometer 26d to the base of i the transistor 26e whose principal electrodes are connected in shunt across the workpiece electrode W and the tool electrode E. When the gap voltage drops below 10 volts, the Schmitt trigger 26b reverses in state and, via a transistor 26c, renders a transistor 26e conductive to short-circuit the gap.

FIG. 5 shows diagrammatically another form of adaptive servo system or the rate control of servo feed in response to the gap condition. In this Figure, it may be understood that blocks labeled 112, 218A, 218B and 117 respectively represent a threshold Schmitt trigger, advance-feed pulser, retraction-feed pulser and servo motor as indicated in FIGS. 2 and 3. To gap resistor a there is connected a gap inspector 29 or means for monitoring gap machining characteristics, which comprises an integrating capacitor 29a, a transistor 2%, a current source 290 and a lamp 29d connected as shown.

The integrating capacitor 290 develops a higher voltage when machining is carried on in a better mode and a lower integrating voltage when machining characteristics worsen (indicating, in EDM, occurrence of gaseous discharges or a tendency to arc). The transistor 29b responds to such change and causes the lamp 29d under energizing current from source 29c to illuminate with an intensity generally proportional to the integrating voltage at capacitor 290. The light emitted from this lamp is applied through an optical path (e.g. a fiberopticsystem) to photoconductor 2l8e in pulser 218A and/or photoconductor 2180' in pulser 2188 so that when the gap is in an optimum machining mode, the rate of advance step feed is held at a maximum value and/or-the rate of retraction step feed at a minimum preset value. With a tendency toward undesirable machining characteristics, the opti-electronic control system immediately reacts to decelerate the advance step feed and/or accelerate the retraction step feed.

As an alternative or in addition to the gap inspector 29, a second gap monitor 30 may be provided adapted to sense the frequency of gap short circuiting which can occur from time to time even during a time interval in which the machining is carried on in the better mode. This second gap monitor includes a current source 30a of the indicated polarity, a sensing resistor 30b and a diode 300, the latter being oriented to block the output of machining power supply 1 from flowing into the gapmonitor circuit. Thus, only when the gap is bridged, does a signal appear at resistor 30b and the source 30a is adjusted to permit this resistor to respond selectively to gap short circuit and exclude its response to normal machining current flow.

The short-circuit-indicating signal is applied man integrator. 30d whose terminal voltage controls the conductive, these transistors being connected in parallel with a source 32c. A third transistor 32d, which'is here of PNP type, is also provided as shown and is energizable only when the second transistor 32b is rendered conductive. Since the emitters of the first and second transistors 32a, 32b are interconnected, with respective emitter-bias resistors being provided, the third transistor 32d is rendered conductive only when the first transistor 32a is nonconducting and the second transistor 32b is conducting, thereby causing a lamp deionization following the termination of a discharge or each discharge, the relative portion of the time for which the transistor 32d is turned to conduction is increased and consequently the intensity of light emitted from the lamp 32e is augmented. Conversely, when the rate of repetition of machining discharges is enhanced as a result of prompt deionization following each discharge, the intensity of light emitted from the lamp 32e is reduced. This intensity of light which changes responsively to the gap condition is applied as a control ductivity of a transistor 30c; the collector and emitter of the latter are connected in series with a lamp 30f and an energization source 30q therefor. Consequently, the lamp 30f may illuminate with a intensity generally proportional to the frequency of gap short-circuiting and the emitted light is applied through an optical path (e. g. direct illumination or fiber-optical system) to photoconductor 2186 of pulser 218A and/or photocontive servo system in accordance with the present invention, particularly suitable for use with self-adaptive EDM pulse generator as shown in and described with reference to FIG. 4. In this embodiment, the variable frequency of machining discharges (i.e. machining-current repetition rate) is compared with a preset reference frequency to monitor the gap machining characteristics, the comparison signal being applied to a servo threshold circuit as described hereinabove to adapt the servo operating mode to the variable gap characteristics. To this end, a gap sensor 31 is here constituted by a differentiator which, every time machining discharge is efi'ected in the gap, delivers a signal pulse to a comparator logic circuit 32 which also is adapted to receive a reference pulse signal from an oscillator 33 such as an astable multivibrator.

Thus, the gap pulse signal is fed to the base of an NPN transistor 32a to render it conductive while a reference pulse signal is fed to the base of a second NPN transistor 32b of the logic circuit to render it consignal to a photoconductor r1 provided in the servo threshold circuit. Thus, when the resistance of photoconductor r1 is reduced because of the increased intensity of light from emitter 32e, the voltage drop at resistor r2 connected in series with element r1 across the gap rises relatively thereby causing the Schmitt trigger 512 to retard the instant of transition or digital phase reversal from the electrode retraction command to advance command for servo motor M and'to advance the instant of transition or digital phase reversal form the electrode advance command to retraction command just as the threshold level of thisSchmitt trigger is lowered. When, however, the repetition of discharges becomes enhanced, the decreased intensity of light signal at the lamp 32e due to an increased amount of incoming gap signal pulses canceling reference pulses at transistor 32b causes the resistance of photoconductor r1 to be increased and the voltage drop at resistor r 2 to fall relatively, thereby causing the Schmitt trigger 512 to advance the instant of transition from the electrode retraction command to advance command for servo motor M and to retard the instant or. point of transition from the electrode advancc to retraction command.

The servo motor M may be coupled with a generator G having a rotor driven in synchronism with the rotation of the motor M and positive and negative signals of the generator may be rectified to form a signal which controls the frequency of a reference oscillator 33. This mode of control may be employed to amplify in certain cases or lessen in the others the effect of the adaptive control mentioned above.

In this embodiment, the gap-monitoring network 510 is nevertheless avoltage divider of the type shown at a in FIG. 2 although one branch of the voltage divider is constituted by the light-variable resistance r whereas the other branch is constituted by the potentiometer r Apart from this modification, however, the gap-monitoring analog signal is applied to the capacitor 51% of the Schmitt trigger which may be charged by a power supply such as those shown at 11 in FIG. 1

through the resistor 5100. The gap-analog signal then the collectors of the transistors being connected in.

common to one terminal of an electric servomotor, e. g. as described in SERVOMECHANISM PRACTICE, pages 276 ff. The servomotor 517 is returned between a pair of resistors 517 and 517" in series with a dc.

source 520. The servomotor is coupled mechanically with the electrode E and with the tachometer G which may be of the type described at pages 327 331 of SERVOMECHANISM PRACTICE, the output of the rate meter being applied via alternately efi'ective diodes G G and capacitors G G, of the pulse shaping net. works to a pulse amplifier G5 controlling the frequency of the oscillator 33 for the purposes described earlier.

In FIG. 7, there is shown another improved servo circuit in accordance with the present invention. The system includes a pair of solenoid coils La and Lb connected to a common source S and adapted to control a servo valve (see pp. 403 ff. of Servomechanism Practice) which in turn controls displacement of a movable electrode relative to a counter-electrode with the first coil La producing an advance command and the second coil Lb producing a retraction command, when respectively energized as will be apparent. The control circuit comprises two tandem sets of transistors Trl, Tr2; Tr3, Tr4 with transistors Tr2 and Tr4 being connected with coils La and Lb through resistors Ra and Rb, respectively, to form electronic switches establishing two digital states for servo operation. Resistors Ra and Rb are here variably adjusted to determine magnitudes of advance and retraction digital signals induced through coils La and Lb, respectively. The output transistors Tr2 and Tr4 are controlled by amplifying or input transistors Trl and Tr3 for switch control thereby, respectively, the conduction and nonconduction of output transistor Tr2 determining nonconduc tion and conduction of second input transistor Tr3. The first input transistor Trl is here designed to receive at its control electrodes a gap signal which develops at an adjustable wiper terminal and fixed terminal of resistor R3 connected across the machining gap. 1

When the gap voltage is below a preset threshold value, which can be established by the position of adjustable wiper of gap resistor Rg, transistor Trl is substantially nonconductive and transistor Tr2 is cut off whereby coil La is deenergized. The elevated collector voltage of transistor Tr2then renders transistor Tr3 in gap voltage detected by input transistor Trl and then the advance servo coil La is energized. Since the collector voltage of transistor Tr2 falls to nil, transistor Tr3 is turned to nonconduction and transistor .T r4 is cut off deenergizing'the retraction servo coil Lb. By suitably adjusting bias resistors for these transistors, it is possible to render transition between these two states instantaneous with respect to changing gap voltage traversing the threshold value.

The system of FIG. 7 may also include an oscillator, here constituted by a free-running multivibrator MV (see Pulse, Digital and Switching Waveforms, pp. 437 ff.) whose outputis fed to the control electrodes of transistor Tr2 to apply thereto a train of control pulses. While this pulser is designed to operate constantly, it will be seen that its output is effective at the servo valve only when the electrode upfeed command is generated through coil Lb. When the servo valve is subjected to down-feed command, the transistor Tr2 is held saturated and the input from pulser MV to this transistor intermittently render this transistor conductive thereby energizing the down-feed coil La intermittently with the result that the'up-feed command applied from coil Lb is intermittently canceled. It has been found that such control is advantageous in that it eliminates possible upward overtravel after occurrence of a shortcircuit and hence eliminates down-feed overtravel which may occur when the electrode is accelerated by traveling a long distance from an excessively retracted position.

As well as with other embodiments hereinbefore set forth, the system of FIG. 7 may be modified to perform adaptive servo control by providing threshold means responsive to gap machining characteristics.

In FIG. lb, I show diagrammatically a system which embodies some of the principles of the present invention in'an overall arrangement for electrical discharge machining. In this embodiment, the tool electrode E is hollow and receives a supply of coolant (e.g. a dielectric such as kerosene or transformer oil) from a pump P and a reservoir R. The fluid traversing the machining gap is collected and returned to the reservoir R through the filter F. A machining power supply EDMPS is connected across the electrode E and the workpiece W and may be provided with a gap monitor M, while being of the type described generally in connection with FIG. 4, i.e. of the adaptive type with automatic response to gap conditions.

The advance (downward movement) of the electrode E or retraction (upward movement) is controlled by a servomotor SM coupled with the electrode E by a rack-and-pinion arrangement ER and SMP and is energized via the bidirectional amplifier or control SMC.

When pulse feed is desired in the retraction and/or advance direction, one or more oscillators SWG may be provided with variable frequency, pulse height, pulse width and pulse spacing for application to the servocontrol via, for example, coincidence gates U and D responsive to the respective states of a threshold circuit of the Schmitt trigger or bistable multivibrator type represented at GCD. The thresholds Th1 and Th2 determine the digital state which are applied as enabling signals to the gates. A null or dead condition in which no signal is applied to displace the electrode is 

1. In the electric-discharge machining of a conductive workpiece wherein a machining electrode and the workpiece electrode, at least one of which is movable, are spacedly juxtaposed to form a dielectric-filled machining gap therebetween and an electroerosive discharge is intermittently effected across the gap while the gap spacing of the latter is maintained substantially constant as material is removed from the workpiece, a method of controlling said machining gap comprising the steps of: a. deriving an analog signal as a function of a gap variable representative of the gap spacing; b. providing at least one threshold level corresponding generally to a preselected gap spacing, and establishing a first digital state upon said analog signal exceeding said threshold level and a second digital state upon said analog dropping below said threshold level; c. deriving a first steep wavefront pulse signal of one polarity and a second steep wavefront pulse signal of the reverse polarity upon the establishment of said first and second digital states, respectively; and d. shifting said movable electrode in response to said pulse signals in a direction determined by the presence and polarity of one of said pulse signals, said first and second digital states being disestablished upon said analog signal dropping below said threshold level and upon said analog signal exceeding said threshold level respectively, said first and second pulse signals each being maintained during the presence of said first and second digital states, respectively, and said first digital signal being a signal driving said movable electrode upwardly; and intermittently canceling said first digital signal while the electrode is in upward movement.
 2. In a servocontrol system for electrical machining wherein a machining electrode and a workpiece electrode, at least one of which is servocontrollable, are spacedly juxtaposed to form a coolant-filled machining gap between them and an electrical machining current is passed through the gap to remove material from the workpiece, the improvement which comprises: motive means for controlling the position of said movable electrode relative to the counterelectrode and provided with a pair of control means individually energizable for generating command signals adapted to drive the movable electrode upwardly and downwardly, a pair of electronic switches operatively coupled and respectively connected with said control means, said switches being operatively in conjugate relationship with one another with each operable substantially in cut-off and saturation ranges to de-energize the control means associated therewith, means establishing at least one preset value for the machining gap spacing, the first of said electronic switches being operable in response to a gap signal and adapted to become saturated, in response to said gap exceeding the preset value, to cut off the second switch, the latter being operative to become saturated upon said first switch being cut off in response to said gap signal dropping below a second threshold value.
 3. The improvement as defined in claim 2 further comprising an oscillator operable, in conjunction with said first and second electronic switches, to provide an oscillatory signal adapted to intermittently cancel the electrode upward command while the electrode is being fed upwardly. 